package com.telit.android.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * @Auther amy
 * @Describe 巡护巡航任务扩展类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PatrolTaskDTO implements Serializable {

    @ApiModelProperty(value = "火情id")
    private Long fireId;

    @ApiModelProperty(value = "任务类型")
    private String taskType;

    @ApiModelProperty(value = "任务下发时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "反馈时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date feedbackTime;

    @ApiModelProperty(value = "反馈内容")
    private String content;

    @ApiModelProperty(value = "火情类型")
    private String fireType;

    @ApiModelProperty(value = "反馈图片路径")
    private String mediaUrl;

    @ApiModelProperty(value = "反馈图片集合")
    private List<String> mediaUrlList;

    @ApiModelProperty(value = "护林员/飞手id")
    private Long foresterId;

    @ApiModelProperty(value = "护林员/飞手名称")
    private String foresterName;

    @ApiModelProperty(value = "无人机名称")
    private String uavName;

    @ApiModelProperty(value = "标题")
    private String title;
}
